//
//  UpstreamCustomerCell.m
//  NtoccShipper
//
//  Created by mac on 2019/12/31.
//  Copyright © 2019 zhuchongjin. All rights reserved.
//

#import "UpstreamCustomerCell.h"
@interface UpstreamCustomerCell()
@property (nonatomic,strong) CJLabel *labCustomerName;
@property (nonatomic,strong) CJLabel *labPhone;
@property (nonatomic,strong) CJLabel *labGoodsName;
@property (nonatomic,strong) CJLabel *labCarType;
@property (nonatomic,strong) CJLabel *labPrice;
@property (nonatomic,strong) CJLabel *labSumMoney;
@property (nonatomic,strong) CJLabel *labFeeType;
@end
@implementation UpstreamCustomerCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    // Configure the view for the selected state
}
- (void)setCellInfoWithModel:(UpstreamCustomerModel *)model{
    self.labCustomerName.text = model.upstreamCustomerName;
    self.labPhone.text = model.upstreamCustomerPhone;
    self.labGoodsName.text = model.coalTypeName;
    self.labCarType.text = model.classificationName;
    self.labPrice.text = @(model.price).cj_money_description;
    self.labFeeType.text = model.chargingTypeName;
}

@end
